//定义登录接口
import instance from "./axios";
// 用户名密码验证模式
export function pwdlogin(data){
    return instance({
        url:'/api/common/auth/login',
        method:'post',
        data
    })
}
// 1.2、图形验证码校验
export function yzm(data){
    return instance({
        url:'/api/common/captcha/verify',
        method:'post',
        data
    })
}
// 2.1、短信验证码下发
export function sendmessage(data){
    return instance({
        url:'/api/common/sms/send',
        method:'post',
        data
    })
}